package com.levi.pojo;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author levi
 * @since 2021-05-20
 */
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer productId;

    private Integer productCount;


    public Orders(Integer id, Integer productId, Integer productCount) {
        this.id = id;
        this.productId = productId;
        this.productCount = productCount;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }


    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", productId=" + productId +
                ", productCount=" + productCount +
                '}';
    }
}
